\hypertarget{classsc2_1_1_client}{}\section{sc2\+:\+:Client Class Reference}
\label{classsc2_1_1_client}\index{sc2\+::\+Client@{sc2\+::\+Client}}


The base class for \hyperlink{classsc2_1_1_agent}{Agent} and \hyperlink{classsc2_1_1_replay_observer}{Replay\+Observer}.  




{\ttfamily \#include $<$sc2\+\_\+client.\+h$>$}

Inheritance diagram for sc2\+:\+:Client\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classsc2_1_1_client}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classsc2_1_1_client_a9bde4735245a945f37c5505cde5d09c1}\label{classsc2_1_1_client_a9bde4735245a945f37c5505cde5d09c1}} 
const \hyperlink{classsc2_1_1_observation_interface}{Observation\+Interface} $\ast$ \hyperlink{classsc2_1_1_client_a9bde4735245a945f37c5505cde5d09c1}{Observation} () const
\begin{DoxyCompactList}\small\item\em The \hyperlink{classsc2_1_1_observation_interface}{Observation\+Interface} is used to query game state. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classsc2_1_1_client_acdc61fe5c58e0a8f4f246d8fbcc5cefc}\label{classsc2_1_1_client_acdc61fe5c58e0a8f4f246d8fbcc5cefc}} 
\hyperlink{classsc2_1_1_query_interface}{Query\+Interface} $\ast$ \hyperlink{classsc2_1_1_client_acdc61fe5c58e0a8f4f246d8fbcc5cefc}{Query} ()
\begin{DoxyCompactList}\small\item\em The Unit\+Query interface is used to issue commands to units. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classsc2_1_1_client_ac42601e18b7c109f6f0e58a7780a79ac}\label{classsc2_1_1_client_ac42601e18b7c109f6f0e58a7780a79ac}} 
\hyperlink{classsc2_1_1_debug_interface}{Debug\+Interface} $\ast$ \hyperlink{classsc2_1_1_client_ac42601e18b7c109f6f0e58a7780a79ac}{Debug} ()
\begin{DoxyCompactList}\small\item\em The \hyperlink{classsc2_1_1_debug_interface}{Debug\+Interface} allows a derived class to print text, draw primitive shapes and spawn/destroy units. \end{DoxyCompactList}\item 
\hyperlink{classsc2_1_1_control_interface}{Control\+Interface} $\ast$ \hyperlink{classsc2_1_1_client_a741b9dd091f11694dd814c9b01f86dd8}{Control} ()
\item 
\mbox{\Hypertarget{classsc2_1_1_client_a90089d27b898fe537ccee87def3cec4b}\label{classsc2_1_1_client_a90089d27b898fe537ccee87def3cec4b}} 
const \hyperlink{classsc2_1_1_control_interface}{Control\+Interface} $\ast$ {\bfseries Control} () const
\item 
\mbox{\Hypertarget{classsc2_1_1_client_a3c44d74271f1cae11334a97849ed4da9}\label{classsc2_1_1_client_a3c44d74271f1cae11334a97849ed4da9}} 
void {\bfseries Reset} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The base class for \hyperlink{classsc2_1_1_agent}{Agent} and \hyperlink{classsc2_1_1_replay_observer}{Replay\+Observer}. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classsc2_1_1_client_a741b9dd091f11694dd814c9b01f86dd8}\label{classsc2_1_1_client_a741b9dd091f11694dd814c9b01f86dd8}} 
\index{sc2\+::\+Client@{sc2\+::\+Client}!Control@{Control}}
\index{Control@{Control}!sc2\+::\+Client@{sc2\+::\+Client}}
\subsubsection{\texorpdfstring{Control()}{Control()}}
{\footnotesize\ttfamily \hyperlink{classsc2_1_1_control_interface}{Control\+Interface}$\ast$ sc2\+::\+Client\+::\+Control (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

The \hyperlink{classsc2_1_1_control_interface}{Control\+Interface} is only meant to be used by the coordinator as it provides functionality for connecting to Starcraft2, setting up a websocket connection and issuing blocking commands via S\+C2\textquotesingle{}s protocol. 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/\hyperlink{sc2__client_8h}{sc2\+\_\+client.\+h}\end{DoxyCompactItemize}
